package cn.iocoder.yudao.module.famous.doctor.convert.prescription;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.famous.doctor.controller.admin.prescription.vo.*;
import cn.iocoder.yudao.module.famous.doctor.dal.dataobject.prescription.PrescriptionDO;

/**
 * 药方统计 Convert
 *
 * @author 档案
 */
@Mapper
public interface PrescriptionConvert {

    PrescriptionConvert INSTANCE = Mappers.getMapper(PrescriptionConvert.class);

    PrescriptionDO convert(PrescriptionCreateReqVO bean);

    PrescriptionDO convert(PrescriptionUpdateReqVO bean);

    PrescriptionRespVO convert(PrescriptionDO bean);

    List<PrescriptionRespVO> convertList(List<PrescriptionDO> list);

    PageResult<PrescriptionRespVO> convertPage(PageResult<PrescriptionDO> page);

    List<PrescriptionExcelVO> convertList02(List<PrescriptionDO> list);

}
